public class 课堂作业3 {
    public static void main(String[] args) {
       int num1 =78;
       String level = num1 >= 60 ?"通过":"补考";
        System.out.println(level);
        int num2 = 85;
        String grade = num2 >= 60 ?"合格":"不合格";
        grade = num2 >= 90 ? "优秀":grade;
        System.out.println(grade);
        int a = 7 / 2;
        System.out.println(a);
        int b = 10 % 3;
        System.out.println(b);
        double c = 5 / 2;
        System.out.println(c);
        int x = 12 / 3;
        System.out.println(x);
        int y = 17 % 5;
        System.out.println(y);
    }
}
